import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'financialCenter-control',
  templateUrl: './financialCenter-control.component.html',
  styleUrls: ['./financialCenter-control.component.scss'],
})
export class FinancialCenterControlComponent implements OnInit {

  // 财务中心总控
  department: any = 'ECC004'; // 部门枚举

  config: any = [
    {
      title: '未达账',
      api: 'acc.depositInTransit.groupDepositInTransit',
      drawer: {
        'title': '未达账明细',
        'action': 'drawer',
        'formId': 'acc.depositInTransit.findDepositInTransitItem',
        'width': '60vw',
      },
    },
    {
      title: '未结算单据',
      api: 'fn.saleOrder.unsettled',
      drawer: {
        'title': '未结算单据明细',
        'action': 'drawer',
        'formId': 'businessControl.unsettledDetail',
        'width': '60vw',
      },
    },
  ];

  constructor() {

  }

  ngOnInit() {

  }

}

